package com.jiashihui.schema_lgorithm.schema.observer;

/**
 * 观察者接口
 *
 * @author jiashihui
 * @date 2019-3-14
 */
public interface Observer {

    /**
     * 更新主题
     *
     * @author jiashihui
     */
    void update(Subject subject);

}
